package com.sxm.yiwei.activitis;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.sxm.yiwei.R;

public class FwLineActivity extends BaseActivity implements View.OnClickListener{

    private ImageView lineback;
    private LinearLayout linesearh;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fw_line);
        initLineView();
    }

    private void initLineView() {
        lineback = (ImageView) findViewById(R.id.line_back);
        linesearh = (LinearLayout) findViewById(R.id.line_search);

        lineback.setOnClickListener(this);
        linesearh.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.line_back:
                finish();
                break;
            case R.id.line_search:
                startActivity(new Intent(this,InstallPsgActivity.class));
                break;
        }

    }
}
